<ul id="menu" class="list-group">
    <li class="list-group-item">
        <a href="javascript:" data-toggle="collapse" data-target="#strategy_detail">
            <span>攻略管理</span>
        </a>
        <ul class="in" id="strategy_detail">
            <li class="strategy"><a href="/strategy/list.do">大攻略管理</a></li>
            <li class="strategyCatalog"><a href="/strategyCatalog/list.do">攻略分类管理</a></li>
            <li class="strategyDetail"><a href="/strategyDetail/list.do">攻略文章管理</a></li>
            <li class="strategyTravel"><a href="/strategyTravel/list.do">大家都在看</a></li>
        </ul>
    </li>
    <li class="list-group-item">
        <a href="javascript:" data-toggle="collapse" data-target="#travel_detail">
            <span>游记管理</span>
        </a>
        <ul class="in" id="travel_detail">
            <li class="travelRelease"><a href="/travelRelease/list.do">已发布游记管理</a></li>
            <li class="travel"><a href="/travel/list.do">待审核游记管理</a></li>
            <li class="travelCommend"><a href="/travelCommend/list.do">游记推荐管理</a></li>
        </ul>
    </li>
    <li class="list-group-item">
        <a href="javascript:" data-toggle="collapse" data-target="#user_detail">
            <span>平台信息管理</span>
        </a>
        <ul class="in" id="user_detail">
            <li class="user"><a href="/user/list.do">注册用户管理</a></li>
            <li class="region"><a href="/region/list.do">地区管理</a></li>
        </ul>
    </li>

    <li class="list-group-item">
        <a href="javascript:" data-toggle="collapse" data-target="#daily">
            <span>日报信息管理</span>
        </a>
        <ul class="in" id="daily">
            <li class="daily"><a href="/daily/list.do">日报管理</a></li>
            <li class="dailyComment"><a href="/dailyComment/list.do">日报评论管理</a></li>
        </ul>
    </li>
    <li class="list-group-item">
        <a href="javascript:" data-toggle="collapse" data-target="#insurance">
            <span>旅游保险管理</span>
        </a>
        <ul class="in" id="insurance">
            <li class="insurance"><a href="/insurance/list.do">保险分类管理</a></li>
            <li class="insuranceProduct"><a href="/insuranceProduct/list.do">产品管理</a></li>
        </ul>
    </li>
    <li class="list-group-item">
        <a href="javascript:" data-toggle="collapse" data-target="#tickets">
            <span>景点门票管理</span>
        </a>
        <ul class="in" id="tickets">
            <li class="ticketAll"><a href="/allticketeses/list.do">门票购买信息</a></li>
            <li class="tickets"><a href="/ticketes/list.do">景点管理</a></li>
        </ul>
    </li>
    <li class="list-group-item">
        <a href="javascript:" data-toggle="collapse" data-target="#qna">
            <span>达人问答管理</span>
        </a>
        <ul class="in" id="qna">
            <li class="questions"><a href="/question/list.do">达人问答问题管理</a></li>
            <li class="answers"><a href="/answer/list.do">达人问答回答管理</a></li>
        </ul>
    </li>

    <li class="list-group-item">
        <a href="javascript:" data-toggle="collapse" data-target="#sign">
            <span>积分商城管理</span>
        </a>
        <ul class="sign" id="sign">
            <li class="signStore"><a href="/signStore/list.do">积分商城管理</a></li>

        </ul>
    </li>

</ul>

<script type="text/javascript">
    var url = location.pathname;
    url = url.substring(1);
    var indexE = url.indexOf("/");
    var currentMenu = url.substring(0, indexE);

    $(".in li." + currentMenu).addClass("active");
</script>
